//////////////////////////////////////////
// Proxy generated class
//////////////////////////////////////////

package Phase1Tests;
import Phase1.*;

import java.io.IOException;

public class Test1Proxy
	extends Phase1Tests.Test1
{

	private static final long serialVersionUID = 1L;
	private GlobalID globalID;

	public Test1Proxy(GlobalID globalID)
	{
		this.globalID = globalID;
	}

	public java.lang.String toString()
	{
		Command command = new Command(globalID, "toString", 
								new Class[]{}, 
								new Object[]{}, true);

		try
		{
			return (java.lang.String) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (java.lang.String) null;
	}

	public void increment()
	{
		Command command = new Command(globalID, "increment", 
								new Class[]{}, 
								new Object[]{}, false);

		try
		{
			Client.voidSendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

	}

	public java.lang.String little(Integer p0, java.lang.String p1)
	{
		Command command = new Command(globalID, "little", 
								new Class[]{Integer.class, java.lang.String.class}, 
								new Object[]{p0, p1}, true);

		try
		{
			return (java.lang.String) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (java.lang.String) null;
	}

	public int getCount()
	{
		Command command = new Command(globalID, "getCount", 
								new Class[]{}, 
								new Object[]{}, true);

		try
		{
			return (Integer) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (Integer) null;
	}

	public void decrement()
	{
		Command command = new Command(globalID, "decrement", 
								new Class[]{}, 
								new Object[]{}, false);

		try
		{
			Client.voidSendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

	}

	public Phase1Tests.Test sendTest(Phase1Tests.Test p0)
	{
		Command command = new Command(globalID, "sendTest", 
								new Class[]{Phase1Tests.Test.class}, 
								new Object[]{p0}, true);

		try
		{
			return (Phase1Tests.Test) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (Phase1Tests.Test) null;
	}

	public long addThingsTogether(Long p0, Long p1, Long p2)
	{
		Command command = new Command(globalID, "addThingsTogether", 
								new Class[]{Long.class, Long.class, Long.class}, 
								new Object[]{p0, p1, p2}, true);

		try
		{
			return (Long) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (Long) null;
	}

	public void doNothing()
	{
		Command command = new Command(globalID, "doNothing", 
								new Class[]{}, 
								new Object[]{}, false);

		try
		{
			Client.voidSendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

	}

	public int addStuff()
	{
		Command command = new Command(globalID, "addStuff", 
								new Class[]{}, 
								new Object[]{}, true);

		try
		{
			return (Integer) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (Integer) null;
	}

	public boolean isTrue()
	{
		Command command = new Command(globalID, "isTrue", 
								new Class[]{}, 
								new Object[]{}, true);

		try
		{
			return (Boolean) Client.sendData(globalID, command);
		}

		catch (IOException e)
		{
			e.printStackTrace();
		}
		catch (ClassNotFoundException e)
		{
			e.printStackTrace();
		}

		return (Boolean) null;
	}


}
